package cn.zyq.ykb.beans.config;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 配置-投诉建议对象 configComplaint
 *
 * @author SystemAuth
 * @date 2023-05-24
 */
@Data
@Entity
@Table(name = "`configComplaint`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class ConfigComplaint  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`configComplaintID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer configComplaintID;
    /**
     * 用户ID
     */
    @Column(name = "`userID`")
    @ApiModelProperty("用户ID")
    private Integer userID;
    /**
     * 内容
     */
    @Column(name = "`substance`")
    @ApiModelProperty("内容")
    private String substance;
    /**
     * 图片
     */
    @Column(name = "`picture`")
    @ApiModelProperty("图片")
    private String picture;
}
